sdp Screen
EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead. Usage example: 30.sdpScreen(50, UiModeType.TELEVISION, DpQualifier.SMALL_WIDTH, 600) → 30.sdp by default, 50.sdp on television with sw >= 600.
PT Extensão para Dp com dimensionamento dinâmico baseado na Smallest Width (swDP). Usa o valor base por padrão, mas quando o dispositivo corresponde ao uiModeType E a métrica de tela para qualifierType é >= qualifierValue, usa screenValue no lugar. Exemplo de uso: 30.sdpScreen(50, UiModeType.TELEVISION, DpQualifier.SMALL_WIDTH, 600) → 30.sdp por padrão, 50.sdp na televisão com sw >= 600.
EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.
PT Extensão para Dp com dimensionamento dinâmico baseado na Smallest Width (swDP). Retorna o valor original auto-escalonado usando o qualificador especificado se a condição não for atendida. Quando o dispositivo corresponde ao uiModeType E a métrica de tela para qualifierType é >= qualifierValue, usa screenValue no lugar.